import request from '@/utils/request'

// 查询合伙企业占用信息列表
export function listHhqyOccupy(query) {
  return request({
    url: '/occupy/hhqyOccupy/list',
    method: 'get',
    params: query
  })
}

// 查询合伙企业占用信息详细
export function getHhqyOccupy(id) {
  return request({
    url: '/occupy/hhqyOccupy/' + id,
    method: 'get'
  })
}

// 保存合伙企业占用信息
export function saveHhqyOccupy(data) {
  return request({
    url: '/occupy/hhqyOccupy/save',
    method: 'post',
    data: data
  })
}

// 删除合伙企业占用信息
export function delHhqyOccupy(id) {
  return request({
    url: '/occupy/hhqyOccupy/' + id,
    method: 'delete'
  })
}

// 导出合伙企业占用信息
export function exportHhqyOccupy(query) {
  return request({
    url: '/occupy/hhqyOccupy/export',
    method: 'get',
    params: query
  })
}
